﻿<controls:MetroWindow x:Class="GuiMongo.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
        xmlns:local="clr-namespace:GuiMongo"
        Title="Mongo UI" Height="350" Width="525" ShowMaxRestoreButton="False" Icon="/GuiMongo;component/1380151691_174880.ico" Closing="ExitApp">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colours.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Blue.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" />
            </ResourceDictionary.MergedDictionaries>
            <ObjectDataProvider x:Key="NotifyingDate" ObjectType="{x:Type local:NotifyingDateTime}"/>            
        </ResourceDictionary>
        
    </Window.Resources>
    <Grid>
        <Button Content="Stop" Height="41" HorizontalAlignment="Left" Margin="12,94,0,0" Name="BtnStop" VerticalAlignment="Top" Width="123" Click="btnStop_Click">
           
        </Button>
        <Button Content="Start" Height="41" HorizontalAlignment="Left" Margin="12,47,0,0" Name="BtnStart" VerticalAlignment="Top" Width="123" Click="btnStart_Click" />
        <Ellipse Height="41" HorizontalAlignment="Left" Margin="160,47,0,0" Name="EStart" Stroke="#00000000" VerticalAlignment="Top" Width="41" Fill="White" >
            <Ellipse.Effect>
                <DropShadowEffect Color="Black" Direction="0" ShadowDepth="0"  Opacity="0.5" />
            </Ellipse.Effect>
        </Ellipse>
        <Button Content="Open Shell" Height="41" HorizontalAlignment="Left" Margin="12,141,0,0" Name="Btncmd" VerticalAlignment="Top" Width="123" Click="btncmd_Click" />
        <Button Content="Open Explorer" Height="41" HorizontalAlignment="Left" Margin="12,188,0,0" Name="Btnexplorer" VerticalAlignment="Top" Width="123" Click="btnexplorer_Click" />
        <Label Height="28" HorizontalAlignment="Left" Margin="375,271,0,0" Name="LblTime" VerticalAlignment="Top" Width="116" Content="{Binding Source={StaticResource NotifyingDate}, Path=Now.Now.Date.Now}" />
    </Grid>
</controls:MetroWindow>
